<?php

use models\dao\NivelDAO;
use models\dao\UsuarioDAO;
use Doctrine\ORM\EntityManager;
use models\dao\ImagemDAO;
use models\Usuario;
use models\Imagem;

class Test extends CI_Controller {

	public function __construct() {
		parent::__construct();
	}

	public function index() {
		$em = $this->doctrine->em;

		$userDAO = new UsuarioDAO($em);

		print_r($userDAO->findAll());

	}

}